package com.shengqin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shengqin.common.pojo.CommonPage;
import com.shengqin.entity.*;

import java.util.List;

public interface IReservationService extends IService<Reservation> {
    Boolean apply(Reservation reservation);

    Student login(Reservation reservation);

    List<PlanReservationItem> queryPlanList(Reservation reservation);

    Page<Reservation> getPage(CommonPage<Reservation> commonPage);

    List<Reservation> queryMyReservationList(Reservation reservation);

    Boolean cancelApply(Reservation reservation);

    Page<Reservation> queryPage(CommonPage<Reservation> reservationPage);

    Boolean applyFreeTest(FreeTestApply freeTestApply);

    Boolean updatePassword(Student student);

    Boolean reviewFreeTest(FreeTestApply freeTestApply);
}
